package com.steerinfo.dil.feign;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.steerinfo.framework.controller.RESTfulResult;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


@FeignClient(value = "ANTAI-AMS-API", url = "${openfeign.AmsFeign.url}")
public interface AmsFeign {
    @PostMapping("api/v1/ams/amstransrequirements/amsTransRequirementcorn")
    Map<String, Object> amsTransRequirementcorn();
    @PostMapping("api/v1/ams/amstransrequirements/ScheduledDispatch")
    Map<String,Object> ScheduledDispatch(@RequestBody Map<String, Object> map);
    @PostMapping("api/v1/ams/amstransrequirements/taskFixedNeeds")
    Map<String,Object> taskFixedNeeds();
}